projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aae66c
)
entry: g_object_notify*( when we change the invisible char
author
Benjamin Otte
<otte@redhat.com>
Tue, 19 Apr 2011 17:54:08 +0000
(19:54 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 19 Apr 2011 20:18:19 +0000
(22:18 +0200)
gtk/gtkentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkentry.c
b/gtk/gtkentry.c
index ce53b1b97eec96a3410b2d90e4796ed47151f3d2..c130158f2a6230a7291668df23c640a996c83156 100644
(file)
--- a/
gtk/gtkentry.c
+++ b/
gtk/gtkentry.c
@@
-4539,7
+4539,15
@@
gtk_entry_update_cached_style_values (GtkEntry *entry)
priv->interior_focus = interior_focus;
if (!priv->invisible_char_set)
- priv->invisible_char = find_invisible_char (GTK_WIDGET (entry));
+ {
+ gunichar ch = find_invisible_char (GTK_WIDGET (entry));
+
+ if (priv->invisible_char != ch)
+ {
+ priv->invisible_char = ch;
+ g_object_notify (G_OBJECT (entry), "invisible-char");
+ }
+ }
}
static void